Infinity-Set-Furniture names a function, with lambda list (D USER RECIPIENT/S):
Set or change a furniture item.
Lisp SET-FURNITURE = JSON setFurniture
There are 3 distinct forms in which this command can be used.
To add a structural item to the room, put item: 123 without anything else. To place furniture on the floor, also add attributes x, y, and facing.
To change furniture, replace item: with slot: (to avoid ambiguities about “which chair”)
To remove an item from the room, send @{ slot: 123, remove: true @}
Parameters:
jso - @{ slot: #, x: #, y: #, facing: $ @} or @{ item: #, x: #, y: #, facing: $ @} or @{ slot: #, remove: true @}
u - The user calling this method
room - The room in which this user is standing
WRIETME
This error is thrown if the parameters are not in one of ; the accepted formats
WRITEME
Defined in file src/infinity/legacy-commands.lisp.